<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

<html lang="en">
<head>

<meta name="generator" content="PHPDoctor 2RC2 (http://phpdoctor.sourceforge.net/)">
<meta name="when" content="Tue, 09 Dec 2008 09:11:43 +0000">

<link rel="stylesheet" type="text/css" href="../stylesheet.css">
<link rel="start" href="../overview-summary.html">

<title>Credentials (Moriarty)</title>

</head>
<body id="definition" onload="parent.document.title=document.title;">

<div class="header">
<h1>Moriarty</h1>
<ul>
<li><a href="../overview-summary.html">Overview</a></li>
<li><a href="../moriarty/package-summary.html">Package</a></li>
<li class="active">Class</li>
<li><a href="../moriarty/package-tree.html">Tree</a></li>
<li><a href="../deprecated-list.html">Deprecated</a></li>
<li><a href="../index-all.html">Index</a></li>
</ul>
</div>

<div class="small_links">
<a href="../index.html" target="_top">Frames</a>
<a href="../moriarty/credentials.html" target="_top">No frames</a>
</div>
<div class="small_links">
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
</div>
<hr>

<div class="qualifiedName">Moriarty.Credentials</div>

<h1>Class Credentials</h1>

<pre class="tree"><strong>Credentials</strong><br /></pre>

<hr>

<p class="signature">public  class <strong>Credentials</strong></p>

<div class="comment" id="overview_description"><p>
Represents a username and password pair for authenticating against secure services.
/</p></div>

<hr>

<table id="summary_constr">
<tr><th colspan="2">Constructor Summary</th></tr>
<tr>
<td class="description"><p class="name"><a href="#Credentials()">Credentials</a>(string username, string password)</p><p class="description">
Construct a new instance of this class</p></td>
</tr>
</table>

<table id="summary_method">
<tr><th colspan="2">Method Summary</th></tr>
<tr>
<td class="type"> string</td>
<td class="description"><p class="name"><a href="#get_auth()">get_auth</a>()</p><p class="description">
Obtain the username and password combined for authentication.</p></td>
</tr>
<tr>
<td class="type"> string</td>
<td class="description"><p class="name"><a href="#get_password()">get_password</a>()</p><p class="description">
Obtain the password </p></td>
</tr>
<tr>
<td class="type"> string</td>
<td class="description"><p class="name"><a href="#get_username()">get_username</a>()</p><p class="description">
Obtain the username </p></td>
</tr>
</table>

<h2 id="detail_constr">Constructor Detail</h2>
<h3 id="Credentials()">Credentials</h3>
<code class="signature">public <strong>Credentials</strong>(string username, string password)</code>
<div class="details">
<p>
Construct a new instance of this class</p><dl>
<dt>Parameters:</dt>
<dd>username - the user name to use when authenticating</dd>
<dd>password - the password to use when authenticating</dd>
</dl>
</div>

<hr>

<h2 id="detail_method">Method Detail</h2>
<h3 id="get_auth()">get_auth</h3>
<code class="signature">public  string <strong>get_auth</strong>()</code>
<div class="details">
<p>
Obtain the username and password combined for authentication.</p></div>

<hr>

<h3 id="get_password()">get_password</h3>
<code class="signature">public  string <strong>get_password</strong>()</code>
<div class="details">
<p>
Obtain the password </p></div>

<hr>

<h3 id="get_username()">get_username</h3>
<code class="signature">public  string <strong>get_username</strong>()</code>
<div class="details">
<p>
Obtain the username </p></div>

<hr>

<div class="header">
<h1>Moriarty</h1>
<ul>
<li><a href="../overview-summary.html">Overview</a></li>
<li><a href="../moriarty/package-summary.html">Package</a></li>
<li class="active">Class</li>
<li><a href="../moriarty/package-tree.html">Tree</a></li>
<li><a href="../deprecated-list.html">Deprecated</a></li>
<li><a href="../index-all.html">Index</a></li>
</ul>
</div>

<div class="small_links">
<a href="../index.html" target="_top">Frames</a>
<a href="../moriarty/credentials.html" target="_top">No frames</a>
</div>
<div class="small_links">
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
</div>
<hr>

<p id="footer">This document was generated by <a href="http://phpdoctor.sourceforge.net/">PHPDoctor: The PHP Documentation Creator</a></p>

</body>

</html>